import React from 'react';
import { Button } from 'antd';
import { Link } from 'react-router-dom';
class Home extends React.Component {
    render(){
        return (
        <div>
                <h1>这个是首页</h1>
            <Link to="/app/login/login">
                <Button type="primary" style={{margin:'100px'}}>前往登录</Button>
            </Link>
            <Link to="/app/login/register">
                <Button type="primary" style={{ margin: '100px' }}>前往注册</Button>
            </Link>
        </div>)
    }
}
export default Home;
